#ifndef __COMPRESSOUTPUT_CPU_H__
#define __COMPRESSOUTPUT_CPU_H__
#include "mian_util.h"
#include "result.h"
#include"compress_cpu.h"
void compressResult(h_result* resultBuffer, uint32 blockSize,uint32* compressed_size, FILE* fout);
uint32 decompressResult(h_result** resultBuffer_ptr, uint32* resultSize, FILE* fin);
void print_full_size_result_cpu(h_result* outSA, uint32 numSA, FILE* outFile, 
								char* titleBuffer,const int max_title_size, char* ref, 
								const int queryLen);

void RunTimeInfoInit();
void printRunTimeInfo();
void test_compress_blockSize(h_result* cpuSA, uint32 numSA, FILE* resultFile, uint32 blockSize, uint32 Pos0);

#endif
